
#include "LTMConfiguration.h"
#include "main-tools.h"

PLTMConfiguration initLTMConfiguration(PalgConfiguration configuration){
	PLTMConfiguration result=(PLTMConfiguration)malloc(sizeof(LTMConfiguration));
	checkMalloc(result,"LTMConfiguration.c:initLTMConfiguration:1");
	//TODO infuturo questo assegnamento deve essere modificato in un strcpy
	result->vehicleNumber=configuration->vehicleNumber;
	result->constructiveDrawingPath=configuration->constructiveDrawingPath;
	result->STMMaxIterations=configuration->maximumSTMIterationNumber;
	result->stmConfiguration=initSTMConfiguration(configuration);
	return result;
}

void freeLTMConfiguration(PLTMConfiguration obj){
	//TODO da completare!
}

